import {storeToRefs} from 'pinia'
import {useCustomizeStore} from '@/stores/customizeStore'

export function useCustomize() {
    const customizeStore = useCustomizeStore()
    const {themeClass, theme, radius, themePrimary} = storeToRefs(customizeStore)

    return {
        themeClass,
        theme,
        radius,
        themePrimary,
        setTheme: customizeStore.setTheme,
        setRadius: customizeStore.setRadius,
    }
}
